import { ApiProperty } from '@nestjs/swagger';
import { Menu } from '../entities/menu.entity';

export class CreateMenuDto {
  id?: string;
  @ApiProperty({ default: '系统管理' })
  menuName: string;
  @ApiProperty({ default: 'system' })
  menuNo: string;
  @ApiProperty({ default: '/work/system' })
  path: string;
  @ApiProperty({ default: 'System' })
  component: string;
  @ApiProperty({ default: 'root' })
  parentId?: string;
}
